<?php
	/**
	 * Info controller class
	 * @version 1.0
	 * @package controllers
	*/
	Class InfoController extends Controller 
	{
		public $page_title = LANG_WELCOME;
		public $layout = 'static';
		public $name = 'info';
		public $module = 'info';
		public $localName = LANG_WELCOME;
		public $metaName = META_NAME_HOME_PAGE;
		public $metaDescription = META_DESCRIPTION_HOME_PAGE;
		public $helpers = array('html', 'htmls', 'htmlx');
		public $javascript = array();
		public $publicPages = array('how', 'tips', 'mlm', 'faqs', 'calculator', 'calculate', 'news', 'lottery', 'deposits', 'paypal', 'card');

		
		/* PUBLIC PAGES */

		/**
		 * MLM page
		 */
		function MLM()
		{
			$this->page_title = Language::Get('MLM');
			$this->menuItem = 'mlm';
//			$this->hasLeftColumn = false;
		}		
		
		/**
		 * How it works page
		 */
		function How()
		{
			$this->page_title = Language::Get('How it works');
			$this->menuItem = 'how';
//			$this->hasLeftColumn = false;
		}
	
		/**
		 * Tips & Hints page
		 */
		function Tips()
		{
			$this->page_title = Language::Get('Tips and Hints');
			$this->menuItem = 'tips';
//			$this->hasLeftColumn = false;
		}

		/**
		 * Lottery page
		 */
		function Lottery()
		{
			$this->page_title = Language::Get('Lottery');
			$this->menuItem = 'lottery';
		}
		
		/**
		 * Deposits page
		 */
		function Deposits()
		{
			$this->page_title = Language::Get('Deposits');
			$this->menuItem = 'deposits';
		}
		
		/**
		 * News page
		 */
		function News()
		{
			$this->page_title = Language::Get('News');
			$this->menuItem = 'news';
		}
		
		/**
		 * FAQs page
		 */
		function Faqs()
		{
			$this->page_title = Language::Get('FAQs');
			$this->menuItem = 'faqs';
		}
		
		/**
		 * Calculator page
		 */
		function Calculator()
		{
			$this->page_title = Language::Get('Calculator');
			$this->menuItem = 'calculator';
			
			//account types
			$this->data['account_types'] = $this->GetListFromPool('AccountTypes');
			
		}		
		
		/**
		 * PayPal page
		 */
		function Paypal()
		{
			$this->page_title = Language::Get('Paypal');
			$this->hasLeftColumn = false;
			$this->hasRightColumn = false;
		}

		/**
		 * Card page
		 */
		function Card()
		{
			$this->page_title = Language::Get('Card');
			$this->hasLeftColumn = false;
			$this->hasRightColumn = false;
		}		
		
		
		/* AJAX PAGES */
	

	}
?>